package day14homework;

import java.util.Scanner;

public class demo {
    public static void main(String[] args) {
        //  10131001：自费    10131002：免费     10131003：会员权益
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入对应的付款方式标号:");
        int code = sc.nextInt();

        //输出对应的付款类型
        String type = ChargeType.getChargeType(code);
        System.out.println(type);
    }
}
